package app.caihan.wanandroid.init


/**
 *
 *
 * @author Seven-C
 * @date 2020/8/18
 */
//class AppInitializer : Initializer<Unit> {
//    override fun create(context: Context) {
//        if (!BuildConfig.DEBUG) {
//            return
//        }
//        StrictMode.setThreadPolicy(
//            StrictMode.ThreadPolicy.Builder()
//                .detectAll()
//                .penaltyLog()
////                .penaltyDeath()
//                .build()
//        )
//        StrictMode.setVmPolicy(StrictMode.VmPolicy.Builder().detectAll().penaltyLog().build())
//        return Unit
//    }
//
//    override fun dependencies(): MutableList<Class<out Initializer<*>>> = mutableListOf()
//}